package com.enjoyor.soa.traffic.api.service.dubbo.gps;

import java.util.List;

import com.enjoyor.soa.traffic.api.dto.gps.CommonMessageInfoDto;
import com.enjoyor.soa.traffic.api.dto.gps.DispatchMessageInfoDto;
import com.enjoyor.soa.traffic.api.dto.gps.GroupInfoDto;
import com.enjoyor.soa.traffic.api.dto.gps.MemberInfoDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface DubboGroupInfoService {

	public ResultPojo saveGroupInfo(String token,GroupInfoDto dto);
	
	public ResultPojo modifyGroupInfo(String token,String groupId,String groupName);
	
	public ResultPojo removeGroupInfo(String token,String groupId);
	
	public ResultPojo getGroupInfo(String token,String groupId,String groupName);
	
	public ResultPojo saveGroupMember(String token,MemberInfoDto dto);
	
	public ResultPojo saveGroupMember(String token,String groupId,List<MemberInfoDto> list);
	
	public ResultPojo removeGroupMember(String token,String groupId,String memberIds);
	
	public ResultPojo getGroupMember(String token,String groupId);
	
	public ResultPojo saveMessage(String token,DispatchMessageInfoDto dto);
	
	public ResultPojo removeMessage(String token,String messageId);
	
	public ResultPojo getMessageInfo(String token,String messageId,String sessionId,String messageFrom,String messageTo,String groupMessage,String startTime,String endTime);
	
	public ResultPojo getPageMessageInfo(String token,String messageId,String sessionId,String messageFrom,String messageTo,String groupMessage,String startTime,String endTime,Page page);
	
	public ResultPojo saveCommonMessageTemp(String token,CommonMessageInfoDto dto);
	
	public ResultPojo getCommonMessage(String token,String messageType);
}
